package com.coolingme.demo.power.objectadpter;

/**
 * 对象适配器，电源适配器测试
 *
 * @author wangyue
 * @date 2020-09-19 23:41
 */
public class Test {

    public static void main(String[] args) {
        PowerAdpter powerAdpter = new PowerAdpter(new AC220Adaptee());
        int output = powerAdpter.output5V();
        System.out.println("转换结果" + output);
    }

}
